import path from 'path'
import { Plugin_Name } from '../components/index.js'

const _path = process.cwd().replace(/\\/g, '/')

// 插件名
const pluginName = Plugin_Name
// 插件根目录
const pluginRoot = path.join(_path, 'plugins', pluginName)
// 插件资源目录
const pluginResources = path.join(pluginRoot, 'resources')

export {
  _path,
  pluginName,
  pluginRoot,
  pluginResources,
}